package com.rinlink.jbcodec.transform;

import java.nio.ByteBuffer;

public class BytesToDouble extends BytesToNumber<Double> {

    public BytesToDouble(ByteBuffer byteBuffer, String order) {
        super(byteBuffer,order);
    }

    @Override
    public Double transform() {
        return getByteBuffer().getDouble();
    }
}
